home *** CD-ROM | disk | FTP | other *** search
/ Freelog 38 / Freelog038.iso / Bas / Bureautique / Ntl480 / Setup.exe / {app} / Libraries / PasteClips.clb < prev    next >
Text File  |  2002-06-10  |  3KB  |  79 lines

  1. = V5 MultiLine NoSorting TabWidth=30
  2.  
  3. H=";About this library"
  4. To see how this library works, double-click on the "Start" Clip to activate the capture mode, and then bring another application forward (e-mail, IRC, etc.). Next, type one of the Clip names listed in this library (for example "ys") in your application, select it and copy it to the Clipboard. If all works correctly, the selected text should be replaced by the content of the Clip you chose ("Yours sincerely" if you used the example).
  5.  
  6. Of course, you can add your own shortcut text to the library (such as passwords, boiler-plate text, etc.) and use them in other applications. See the Help file topic "Create Clipbook Libraries" for details on creating Clips.
  7.  
  8. Double-click on the "Stop" Clip or close the library when you no longer want to use this feature, otherwise any text you copy to the Clipboard will continue to be checked by NoteTab.
  9.  
  10.  
  11. H=";"
  12.  
  13.  
  14. H="Start "
  15. ;Set initial values for main variables and show confirmation message
  16. ^!Set %CheckClipboard%=True; %PasteInfo%=0
  17. ^!Prompt Clipboard checking has been enabled
  18.  
  19. H="Stop "
  20. ;Stop checking the Windows Clipboard
  21. ^!Set %CheckClipboard%=False
  22. ^!Prompt Clipboard checking has been disabled. Double-click on the "Start" Clip if you want to continue
  23.  
  24. H=";"
  25.  
  26.  
  27. H="ys"
  28. Yours sincerely,
  29.  
  30.  
  31. H="nts"
  32. NoteTab Standard
  33.  
  34. H="ntp"
  35. NoteTab Pro
  36.  
  37. H="ch"
  38. http://www.notetab.ch/
  39.  
  40. H="com"
  41. http://www.notetab.com/
  42.  
  43. H="order"
  44. http://www.notetab.com/order.htm
  45.  
  46. H="address"
  47.    Fookes Software
  48.    Av. EugΦne-Pittard 22 Ter
  49.    CH - 1206 Geneva
  50.    Switzerland
  51.  
  52.  
  53. H="press"
  54. NoteTab Pro is a leading-edge text and HTML editor, ideal for the power user. Handle a stack of huge files with ease, format your text to your heart's content, use a spell-checker and thesaurus, and perform system-wide searches and multi-line global replacements. Build document templates, add bookmarks, convert text to HTML on the fly, and take charge of your code with a bunch of handy HTML tools. Use a simple, power-packed scripting language to create anything from a text macro to a mini-application. Winner of top industry awards in 1998 and 1999, NoteTab Pro is the outstanding bargain in shareware today!
  55.  
  56.  
  57. H=";"
  58.  
  59.  
  60. H="_OnOpen"
  61. ;Check if this library has been opened before. If it has, skip the instructions below
  62. ^!If ^$GetValue(efoPasteClips)$ = 1 Exit
  63. ;Save key value to NoteTab's INI file
  64. ^!SaveValue efoPasteClips=1
  65. ;Show instructions contained in the "About this library" Clip
  66. ^!Clip "About this library"
  67.  
  68. H="_OnClipboardChange"
  69. ;If we are not supposed to check the Windows Clipboard, end this Clip
  70. ^!IfFalse ^%CheckClipboard% Exit
  71. ;If the size of the text in the Clipboard exceeds 20 characters, end this Clip (all Clip names here are shorter)
  72. ^!If ^$GetClipboardSize$ > 20 Exit
  73. ;Copy matching Clip to Windows Clipboard
  74. ^!CopyClip ^$GetClipboard$
  75. ;End the procedure if not matching Clip was found
  76. ^!IfError Exit
  77. ;Paste the content of the Clipboard back to the application that originally sent the text to the Clipboard
  78. ^!PasteBack
  79.